package com.qyhl.webtv.module_broke.scoop.addscoop;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;

import java.io.File;
import java.util.List;

/**
 * Created by qyhl on 2017/12/11.
 */

public interface ScoopAddContract {
    interface ScoopAddView {
        void commitError(String msg);

        void commitSuccess(String msg);

        void cancelCommit();

        void setProgress(float progress);


        void getTokenSuccess(UpTokenBean data);
    }

    interface ScoopAddPresenter {
        void commit(String anonymous, String title, String content, String type, String author
                , String plateId, String creator, String creatorAvatar, String audioDuration, String phone,
                    String address, List<String> list, int isprivate, String token, String prefix);

        void commit(String anonymous, String title, String content, String type, String author
                , String plateId, String creator, String creatorAvatar, String audioDuration, String phone,
                    String address, File file, String mVideoCoverPath, int isprivate, String token, String prefix);

        void commitError(String msg);

        void commitSuccess(String msg);

        void cancelCommit();

        void setProgress(float progress);

        void getToken();

        void getTokenSuccess(UpTokenBean data);


    }

    interface ScoopAddModel {
        void commit(String anonymous, String title, String content, String type, String author
                , String plateId, String creator, String creatorAvatar, String audioDuration, String phone,
                    String address, List<String> list, int isprivate, String token, String prefix);

        void commit(String anonymous, String title, String content, String type, String author
                , String plateId, String creator, String creatorAvatar, String audioDuration, String phone,
                    String address, File file, String mVideoCoverPath, int isprivate, String token, String prefix);




        void getToken();
    }
}
